//
//  XMbaseCell.m
//  BigJoy
//
//  Created by Rowling on 2017/6/15.
//  Copyright © 2017年 Rowling. All rights reserved.
//

#import "XMbaseCell.h"

@implementation XMbaseCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.selectionStyle = UITableViewCellSelectionStyleNone;
}

+(instancetype)cellWithTalbelView:(UITableView *)table {
    XMbaseCell * cell = [table dequeueReusableCellWithIdentifier:NSStringFromClass([self class])];
    if (cell == nil) {
        cell = [[NSBundle mainBundle] loadNibNamed:NSStringFromClass([self class]) owner:nil options:nil].firstObject;
    }
    return cell;
}

@end
